<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <title>Examples</title>
  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  <meta name="description" content="" />
  <meta name="keywords" content="" />
  <link href="" rel="stylesheet" />
</head>

<body>
  <div id="root">
    <table>
      <tr is="my-tr">
      </tr>
    </table>
  </div>
  <script src="../vue.js"></script>
  <script>
    const tr = {
      template: `
      <tr>
        <td>a</td>
        <td>b</td>
      </tr>
      `
    }

    var vm = new Vue({
      el: "#root",
      components:{
        'my-tr':tr
      },
      data: {

      }
    })
    // 去掉run...提示
    Vue.config.productionTip = false
  </script>
</body>

</html>